var net.hosts
22 uses
net (current package)
hosts.go#L32: var hosts struct {
hosts.go#L56: if now.Before(hosts.expire) && hosts.path == hp && len(hosts.byName) > 0 {
hosts.go#L60: if err == nil && hosts.path == hp && hosts.mtime.Equal(mtime) && hosts.size == size {
hosts.go#L61: hosts.expire = now.Add(cacheMaxAge)
hosts.go#L94: hosts.expire = now.Add(cacheMaxAge)
hosts.go#L95: hosts.path = hp
hosts.go#L96: hosts.byName = hs
hosts.go#L97: hosts.byAddr = is
hosts.go#L98: hosts.mtime = mtime
hosts.go#L99: hosts.size = size
hosts.go#L105: hosts.Lock()
hosts.go#L106: defer hosts.Unlock()
hosts.go#L108: if len(hosts.byName) != 0 {
hosts.go#L114: if ips, ok := hosts.byName[absDomainName(host)]; ok {
hosts.go#L125: hosts.Lock()
hosts.go#L126: defer hosts.Unlock()
hosts.go#L132: if len(hosts.byAddr) != 0 {
hosts.go#L133: if hosts, ok := hosts.byAddr[addr]; ok {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)